package com.runmi.webchat.aftersale.dbcore.mapper;

import com.runmi.webchat.aftersale.dbcore.entity.RegionInfo;
import com.runmi.webchat.aftersale.dbcore.entity.Role;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

@Repository
public interface RegionInfoMapper   extends Mapper<RegionInfo> {
	/**
	 * 根据父ID获取下级地区
	 * @param parentId
	 * @return
	 */
	public List<RegionInfo> getRegionInfoByParentId(@Param("parentId")Integer parentId);
}